package org.s170.vo;

public class ResultVO {
    /**
     * 消息代码，默认200
     */
    private int code = 200;

    /**
     * 客户端消息
     */
    private String msg = "";

    /**
     * 返回客户端具体的数据结果
     */
    private Object data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public ResultVO() {

    }

    public ResultVO(Object data) {
        this.code = 200;
        this.data = data;
        this.msg = "ok";
    }
}
